Published: 2002-10-22
Applies to: Content Studio ver. 3.2 - 4.x
Type: How to
More information
To hide empty content in a presentation template you can insert the following script
just before the EPT-field.
<%If Len(EPT_GetFieldName("FieldName")) > 0 Then%>
<!--AS component goes here -->
<%End if%>
This exemple uses the behind the scene function EPT_GetFieldName() to retrieve the content of the field name. It then checks if its length is more that zero and if so, the script inserts the actual code.